<?php
namespace catchAdmin\externalGoods\model;

use catcher\base\CatchModel;
use think\Exception;
use think\facade\Db;

class MessageQueue extends CatchModel
{

    protected $name = 'db_message_queue_copy';
    protected $field = [
        'id',
        'message',
        'status',
        'retries',
        'error_message',
        'priority',
        'created_at',
        'started_at',
        'completed_at',
        'type',
        'to_tenant_id'
    ];

    protected $json = [
        'message'
    ];
    // 设置JSON数据返回数组
    protected $jsonAssoc = true;
}
